<style>
    .course {
        display: none;
    }

    .action_course {
        display: none;
    }
</style>

<body>
<div class="left">
    <div class="left_top">
        <img src="<?php echo base_url(); ?>/public/assets/image/left_top.png">
    </div>
    <div class="left_userinfo ">
        <div class="huanying">欢迎商户：</div>
        <div class="left_username"><?php echo $this->session->username; ?></div>
    </div>

    <div class="left_body">

        <div class="left_body_box">
            <a href="/business/index">
                <h3 class="mouse action_all">
                    <div class="left_title"><img src="<?php echo base_url(); ?>/public/assets/image/index.png"> 首页</div>
                </h3>
            </a>
        </div>
        <div class="left_body_box jdbox">
            <h3 class="">
                <div class="left_title"><img src="<?php echo base_url(); ?>/public/assets/image/jd.png"> 京东任务</div>
            </h3>
            <div class=" left_body_li mouse action_jdtask">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/jdjd.png">
                    <a href="/business/jdtask"> 京东发布任务</a>
                </div>
            </div>

            <div class=" left_body_li mouse action_jdtasklist  action_viewjdtask  action_relodjdtask">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/jdwc.png">
                    <a href="/business/jdtasklist"> 京东任务管理</a>
                </div>
            </div>


        </div>

        <div class="left_body_box pddbox">
            <h3 class="">
                <div class="left_title"><img src="<?php echo base_url(); ?>/public/assets/image/pdd.png"> 拼多多任务</div>
            </h3>

            <div class=" left_body_li mouse action_pddtask">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/pddtask.png">
                    <a href="/business/pddtask"> 拼多多发布任务</a>
                </div>
            </div>

            <div class=" left_body_li mouse action_pddtasklist    action_viewpddtask   action_relodpddtask">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/pddwc.png">
                    <a href="/business/pddtasklist"> 拼多多任务管理</a>
                </div>
            </div>

            <div class=" left_body_li mouse    action_express_list    ">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/pddwc.png">
                    <a href="/business/express_list"> 物流代发任务</a>
                </div>
            </div>

            <!--     <div class=" left_body_li mouse  action_changeSales ">
                <div class="left_body_li_1">
                    <img src="<?php /*echo base_url();*/ ?>/public/assets/image/pddwc.png">
                    <a href="/business/changeSales"> 改销量</a>
                </div>
            </div>-->
            <div class=" left_body_li mouse    action_confirm ">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/pddwc.png">
                    <a href="/business/confirm">完成个人信息</a>
                </div>
            </div>

            <div class=" left_body_li mouse   action_course ">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/pddwc.png">
                    <a href="/business/course">任务教程</a>
                </div>
            </div>

        </div>

        <div class="left_body_box">
            <h3 class="">
                <div class="left_title"><img src="<?php echo base_url(); ?>/public/assets/image/zjgl.png"> 资金管理</div>
            </h3>

            <div class=" left_body_li mouse action_pay">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/zijin.png">
                    <a href="/business/pay"> 充值</a>
                </div>
            </div>

            <div class=" left_body_li mouse action_rechargelog">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/zjjl.png">
                    <a href="/business/rechargelog"> 充值记录</a>
                </div>
            </div>
            <div class=" left_body_li mouse action_getgold">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/duihuan.png">
                    <a href="/business/getgold"> 兑换金币</a>
                </div>
            </div>
            <div class=" left_body_li mouse action_paylog">
                <div class="left_body_li_1">
                    <img src="<?php echo base_url(); ?>/public/assets/image/zjlog.png">
                    <a href="/business/paylog"> 资金明细</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="body">
    <div class="body_head">


        <div class="body_head_box ">
            <a href="<?php echo base_url(); ?>welcome/loginout">
                <img src="<?php echo base_url(); ?>/public/assets/image/logout.png">
                <div> 退出</div>
            </a>

        </div>
        <div class="body_head_box">
            <a href="<?php echo base_url(); ?>Customer/index">
                <img src="<?php echo base_url(); ?>/public/assets/image/guanli.png">
                <div>
                    管理后台
                </div>
            </a>
        </div>
        <div class="body_head_box">
            <a href="<?php echo base_url(); ?>hunter/index">
                <img src="<?php echo base_url(); ?>/public/assets/image/ceshi1.png">
                <div>测试员后台</div>
            </a>
        </div>
        <div class="body_head_box">
            <a href="<?php echo base_url(); ?>business/index">
                <img src="<?php echo base_url(); ?>/public/assets/image/shanghu1.png">
                <div>商户后台</div>
            </a>
        </div>

        <div class="body_head_box noshow">
            <div> 冻结金币：<?php echo $this->session->userinfo["frozengold"]; ?> </div>
        </div>
        <div class="body_head_box noshow">
            <div> 拥有金币：<?php echo $this->session->userinfo["gold"]; ?> </div>
        </div>

        <div class="body_head_box noshow">
            <div> 冻结资金：<?php echo $this->session->userinfo["frozenmoney"]; ?> </div>
        </div>

        <div class="body_head_box noshow">
            <div> 拥有资金：<?php echo $this->session->userinfo["money"]; ?> </div>
        </div>
        <div class="body_head_box" style="cursor: pointer;">
            <div class="showprice" style="color: #0c7edf!important;">查看价目表</div>
        </div>


    </div>


    <div class="body_body">
        <div class="body_body_top">
            <div class="body_body_top_1"
                 style="font-size: 25px;color: #2347c7;line-height: 15px"> <?php echo $this->address2; ?></div>
            <div class="body_body_top_2">当前位置： 首页 > <a href="#"><?php echo $this->address; ?></a></div>
        </div>


        <div class="body_body_mid">


            <div class="nexsidetls">
                <div class="nexsidetools">
                    <ul>
                        <li class="nexsd_kf" style="display: none">
                            <div class="nexstout">
                                <img src="<?php echo base_url(); ?>/public/assets/image/kf.png">
                                <span>客服电话</span>
                            </div>
                            <div class="nexsthds" style="height: 200px;">
                                <div class="nexsthdstops">
                                    <img src="<?php echo base_url(); ?>/public/assets/image/qq.png">
                                    <a href="https://wpa.qq.com/msgrd?v=3&amp;uin=1911786075&amp;site=qq&amp;menu=yes"
                                       target="_blank">点击联系客服</a>
                                    <p>在线时间：9:30-21:30</p>
                                </div>
                                <div class="nexsthdcbtms" style="display:none">
                                    <!--   <h5>客服电话</h5>
                                       <p>0551-64934417</p>-->
                                    <h4>客服QQ</h4>
                                    <span class="qq">1911786075</span>
                                </div>
                            </div>
                        </li>
                        <!--     <li>
                            <div class="nexstout">
                                <a href="mailto:admin@huoyanhui.com" target="_blank">
                                    <img src="<?php /* echo base_url(); */ ?>/public/assets/image/qa.png">
                                    <span>问题反馈</span>
                                </a>
                            </div>
                        </li>-->
                        <!--             <li class="nexsd_app">
                            <div class="nexstout nexstout_app">
                                <img src="<?php /* echo base_url(); */ ?>/public/assets/image/app.png">
                                <span>APP下载</span>
                            </div>
                            <div class="nexsthds nexsthds_app nexAPPuiBox">
                                <div class="nexstappsd nexAPPui">
                                    <i></i>
                                    <div class="nexAPPinters">
                                        <p>火焱社小程序</p>
                                        <p>随时随地学习最新玩法</p>
                                        <img src="<?php /* echo base_url(); */ ?>/public/assets/image/code.jpg">
                                    </div>
                                    <em></em>
                                </div>
                            </div>
                        </li>-->
                        <li class="nexsd_wx">
                            <div class="nexstout nexstout_wx">
                                <img src="<?php echo $this->session->webinfo['weixin']; ?>">
                                <span>客服微信</span>
                            </div>
                            <div class="nexsthds nexsthds_weixin">
                                <div class="nexstwxsd">
                                    <p>扫描二维码</p>
                                    <p>添加客服微信号</p>
                                    <img src="<?php echo $this->session->webinfo['weixin']; ?>">
                                </div>
                            </div>
                        </li>


                        <!--返回顶部-->
                        <li id="scrolltop" style="left: auto; right: 0px; visibility: hidden;">
                            <div class="nexstout nexstout_up">
                                <a id="nexGoToTop">
                                    <img src="<?php echo $this->session->webinfo['weixin']; ?>">
                                    <span>返回顶部</span>
                                </a>
                            </div>

                        </li>
                    </ul>
                </div>
                <div class="box2" style="display: none">


                    <table class="am-table  am-table-radius am-table-striped am-table-hover" style="">
                        <thead>
                        <tr class="am-success">
                            <th class="table-type">普通单客单价</th>
                            <th class="table-type">所需金币数</th>
                            <th class="table-type">高留评单客单价</th>
                            <th class="table-type">所需金币数</th>
                            <th class="table-type">DSR客单价</th>
                            <th class="table-type">所需金币数</th>
                            <th class="table-type">拼多多直播间客单价</th>
                            <th class="table-type">所需金币数</th>

                        </tr>
                        </thead>
                        <tbody class="impowdith">



                    </table>
                    <div style="text-align: center; font-size: 15px;display: none">
                        金币是佣金 资金是本金 要区分清楚 金币兑换足够发布任务即可，每单额收取<span class="red">1</span>金币服务费
                    </div>
                </div>
            </div>

            <!-- <script src="http://kfb.kefuyyy.xyz/assets/front/cgwl_74.js?v=1596095212"></script>-->

            <script>
                var list = localStorage['commissionlist'];
                if (list) {
                    $(".showprice").show();
                    let html = '';
                    list = JSON.parse(list);
                    $.each(list, function (i, v) {
                        html += '  <tr>' +
                            ' <td>' + v[0] + '</td>' +
                            ' <td>' + v[1] + '</td>' +
                            ' <td>' + v[2] + '</td>' +
                            ' <td>' + v[3] + '</td>' +
                            ' <td>' + v[4] + '</td>' +
                            ' <td>' + v[5] + '</td>' +
                            ' <td>' + v[6] + '</td>' +
                            ' <td>' + v[7] + '</td>' +
                            '            </tr>';
                    })
                    $(".impowdith").after(html);
                    $(".showprice").click(function () {
                        layer.open({
                            type: 1,
                            title: '任务<span class="red">每单</span>费用收取规则,且每单收取<span class="red">1</span>个金币服务费',
                            skin: 'layui-layer-rim', //加上边框
                            area: ['800px', '550px'], //宽高
                            content: $(".box2").html(),
                            cancel: function (index, layero) {

                            }
                        });
                    });
                } else {
                    $(".showprice").hide()
                }



                var wxh = "<?php echo $this->session->webinfo['weixin']; ?>";
                var cgwl = {};
                cgwl.visiter_id = '<?php echo $this->user_id ?>';//访客id
                cgwl.visiter_name = '<?php echo $this->session->username; ?>';//访客昵称
                var host = "<?php echo $this->host ?>";
                var qqjd = 1911786075;
                var qqpdd = 3538923001;
                var qqlinkpdd = 'https://wpa.qq.com/msgrd?v=3&uin=3538923001&site=qq&menu=yes';
                if (host == 'pdd') {
                    $(".jdbox").hide();
                    $(".qq").text(qqpdd);
                    $(".nexsthdstops a").attr('href', qqlinkpdd);
                    $(".nexstwxsd img").attr('src', wxh);
                }
                if (host == 'jd') {
                    $(".pddbox").hide();
                }
                var action = "action_<?php echo $this->router->method;?>";
                $("." + action).addClass("leftchoose");
                $(" .mouse:not(.leftchoose)").mouseover(function () {
                    /*     oldColor = $(this).css("background-color");*/
                    $(this).addClass("leftchoose");
                }).mouseout(function () {
                    $(this).removeClass("leftchoose");
                });
                $(" .body_head_box:not(.noshow)").mouseover(function () {
                    $(this).addClass("body_head_box_checked");
                }).mouseout(function () {
                    $(this).removeClass("body_head_box_checked");
                });
            </script>


            <script>
                var webid = "<?php echo $this->session->webinfo['id']  ?>";

                if (webid == '1') {
                    $(".action_course").show();
                }

            </script>

